/*
 * Author - Lukasz Baranski <barluk87@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */


//frsky.h

#ifndef _FRSKY_H_
#define _FRSKY_H_


#define FRSKY_TEMP1        0x02
#define FRSKY_TEMP2        0x05
#define FRSKY_CELL_VOLT    0x06
#define FRSKY_BARO_ALT_B   0x10
#define FRSKY_VERT_SPEED   0x30 



#define NUMBER_OF_MEASURMENT 5

void setAltitude(int altitude);

void setVspd(int speed);

void setTemp(int temp1, int temp2);

void setVoltage(int voltage);

void sendFrame();

void clearData();

#endif
